package com.fuyao.cloud.admin.flow.service.flowable;

import com.fuyao.cloud.admin.flow.model.User;
import com.fuyao.cloud.common.core.util.R;
import com.fuyao.cloud.common.security.service.CloudUser;
import org.flowable.ui.modeler.domain.Model;
import org.flowable.ui.modeler.model.ModelRepresentation;

public interface IFlowableModelService {


    /**
     * 创建模型初始化
     *
     * @param modelRepresentation 参数
     * @param user                创建人
     * @return
     */
    R<Model> createModel(ModelRepresentation modelRepresentation, CloudUser user);


}
